#include<stdio.h>
#define ARRAY_SIZE 5
int main()
{
	int arr[ARRAY_SIZE] = {1, 2, 3, 4, 5};
	int i = 0;
	// Pointer to an array of integers
	int (*ptr)[ARRAY_SIZE];
	// Points to the whole array arr.
	ptr = arr;//try &arr, &arr[0]
	int *ptr2;
	ptr2 = arr;
	for (i = 0; i < ARRAY_SIZE ; ++i)
	{
		printf(" arr[%d] = %d\n", i, (*ptr)[i]);
		printf(" arr[%d] = %d\n", i, ptr2[i]);
	}
	return 0;
}


